url = 'https://www.acwing.com/problem/content/4867/'

T = int(input())

for i in range(T):
    if int(input()) % 4 ==0:
        print('YES')
    else:
        print('NO')